package com.megalith.entities;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Description 用户实体类
 * @Author lfp
 * @Date 2021/4/8 23:06
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel(value = "Order", description = "用户实体类")
public class User {
    //用户编号
    @ApiModelProperty(value = "用户编号")
    private String userId;

    //年龄
    @ApiModelProperty(value = "年龄")
    private Integer age;

    //性别：0：女性，1：男性
    @ApiModelProperty(value = "性别：0：女性，1：男性")
    private int sex;

    //用户名
    @ApiModelProperty(value = "用户名")
    private String userName;

    //昵称
    @ApiModelProperty(value = "昵称")
    private String nickName;

    //备注
    @ApiModelProperty(value = "备注")
    private String remark;
}